package cn.daqisoft.service.impl;

import cn.daqisoft.dao.RolesMapper;
import cn.daqisoft.service.RolesService;
import cn.daqisoft.vo.RolesInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description: 角色表服务层实现类
 * @auther: dream breeze
 * @date: 2018/11/1 14:20
 */
@Service("rolesService")
public class RolesServiceImpl implements RolesService{
    @Autowired
    private RolesMapper rolesMapper;

    @Override
    public int update1(RolesInfo rolesInfo) {
        return rolesMapper.update1(rolesInfo);
    }

    @Override
    public List<RolesInfo> getRolesList1() {
        return rolesMapper.getRolesList1();
    }

    @Override
    public int update2(RolesInfo rolesInfo) {
        return rolesMapper.update2(rolesInfo);
    }

    @Override
    public List<RolesInfo> getRolesList2() {
        return rolesMapper.getRolesList2();
    }

    @Override
    public int update3(RolesInfo rolesInfo) {
        return rolesMapper.update3(rolesInfo);
    }

    @Override
    public List<RolesInfo> getRolesList3() {
        return rolesMapper.getRolesList3();
    }
}
